
from tkinter import *
import turtle

root = Tk()
cv = Canvas(root, height=500, width=500)
cv.pack()
screen = turtle.TurtleScreen(cv)
t = turtle.RawTurtle(screen)

t.pencolor('blue')
t.penup()
t.pensize(3)
t.goto(-50, -50)
t.pendown()
for i in range(4):
    t.forward(100)
    t.left(90)
t.penup()
t.pencolor('red')
t.fillcolor('yellow')
t.goto(0, -50)
t.pendown()
t.begin_fill()
t.circle(50)
t.end_fill()
t.hideturtle()

root.mainloop()
